package com.xg.sys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

import com.xg.sys.entity.SysMenu;
import org.apache.ibatis.annotations.Param;

public interface MenuBeanMapper extends BaseMapper<SysMenu> {

    /**
     * @param parentId
     * @param userId
     * @return
     */
	List<SysMenu> queryListParentId(@Param("parentId") Long parentId, @Param("userId") Long userId);

    List<SysMenu> queryListByUserId(@Param("userId") Long userId, String status, String delField, String delVal);
}
